<template>
  <div class="dashboard-container">
    <panelGroup />
    <!-- 图表 -->
    <panelEcharts />
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import panelGroup from './components/panel-group'
import panelEcharts from './components/panel-echarts'
export default {
  name: 'Dashboard',
  components: {
    panelGroup,
    panelEcharts
  },
  computed: {
    ...mapGetters(['name', 'roles'])
  }

}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
